package cn.bdqn.domain;

/**
 * 机构管理实体类
 * @author dkj
 */
public class Group {

    /**
     * id
     */
    private Integer id;

    /**
     * 机构类型id标识  1.基地(自行注册) 2.学校 3.教体局 4.教育局
     */
    private Integer groupTypeId;

    /**
     * 机构名字
     */
    private String groupName;

    /**
     * 地区
     */
    private String address;
    /**
     * 机构状态 0 正常 1 禁用
     */
    private Integer state;

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getGroupTypeId() {
        return groupTypeId;
    }

    public void setGroupTypeId(Integer groupTypeId) {
        this.groupTypeId = groupTypeId;
    }

    public String getGroupName() {
        return groupName;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName == null ? null : groupName.trim();
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }


    @Override
    public String toString() {
        return "Group{" +
                "id=" + id +
                ", groupTypeId=" + groupTypeId +
                ", groupName='" + groupName + '\'' +
                ", address='" + address + '\'' +
                ", state=" + state +
                '}';
    }
}
